<%@ page language="java" contentType="text/html; charset=UTF-8"
    pageEncoding="UTF-8"%>
<!DOCTYPE html>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>用户注册</title>
<link type="text/css" rel="stylesheet" href="/bbs/css/register.css"/>
			<%--
				 uid INT PRIMARY KEY AUTO_INCREMENT COMMENT '会员编号',
			    uname CHAR(6) UNIQUE NOT NULL COMMENT '会员昵称',
			    upwd CHAR(8)  NOT NULL COMMENT '会员密码',
			    ureal_name VARCHAR(20)  COMMENT '真实名字',
			    uphoto VARCHAR(100)  COMMENT '会员头像',
			    usex CHAR(1)  COMMENT '会员性别'  DEFAULT '男',
			    uscore INT   COMMENT '会员积分' DEFAULT 100,
			    ustatus BOOLEAN COMMENT '会员状态' DEFAULT TRUE/*是否可用*/
				
			 --%>
</head>
<body>
	<a href="/bbs/page/index.jsp"><font size="6px">《《 返回首页</font></a>
	<div class="zong">
		<div class="div_register">
		<form action="/bbs/register_servlet" method="post" enctype="multipart/form-data">
			<table class="All_table">
				<caption><font color="red" size="6px">注&nbsp;&nbsp;&nbsp;&nbsp;册</font></caption>
				<tr>
					<th class="All_th_td">账&nbsp;&nbsp;&nbsp;&nbsp;号:</th>
					<td class="All_th_td"><input type="text" onkeyup="value=value.replace(/[^1234567890-]+/g,'')" required="required" name="uid"/></td>
				</tr>
				<tr>
					<th class="All_th_td">密&nbsp;&nbsp;&nbsp;&nbsp;码:</th>
					<td class="All_th_td"><input type="password" required="required" name="upwd"/></td>
				</tr>
				<tr>
					<th class="All_th_td">昵&nbsp;&nbsp;&nbsp;&nbsp;称:</th>
					<td class="All_th_td"><input type="text" required="required" name="uname"/></td>
				</tr>
				<tr>
					<th class="All_th_td">真实名字:</th>
					<td class="All_th_td"><input type="text" required="required" name="ureal_name"/></td>
				</tr>
				<tr>
					<th class="All_th_td">性&nbsp;&nbsp;&nbsp;&nbsp;别:</th>
					<td class="All_th_td">男<input type="radio" required="required" name="usex" value="男"/>
						&nbsp;&nbsp;&nbsp;&nbsp;女<input type="radio" required="required" name="usex" value="女"></td>
				</tr>
				<tr>
					<th class="All_th_td">头&nbsp;&nbsp;&nbsp;&nbsp;像:</th>
					<td class="All_th_td"><input type="file" value="选择头像" required="required" accept=".jpg,.png" name="filename"/></td><%--accept=".jpg,.png" --%>
				</tr>
				<tr>
					<td  class="All_th_td" colspan="2"><input type="reset" name="chongxie" value="重填"/>
					&nbsp;&nbsp;&nbsp;&nbsp;<input type="submit" value="注册" /></td>
				</tr>
			</table>
		</form>
	</div>
	</div>

</body>
</html>